package a.e.a;

import a.c.m;
import a.c.w;

import java.io.IOException;

public class k
  implements hb
{
  private hb a;
  private hb b;
  public static boolean c;
  
  public k()
  {
    this(null, null);
  }
  
  public k(hb paramhb1, hb paramhb2)
  {
    this.a = paramhb1;
    this.b = paramhb2;
  }
  
  public void a(Object paramObject, g paramg)
    throws IOException
  {
    boolean bool = r.f;
    int j = r.e;
    a.j.g localg = (a.j.g)paramObject;
    paramg.b("label", "");
    paramg.a("directed", 1);
    int i = 0;
    Object localObject1;
    Object localObject2;
    if (!bool) {
      if (this.a != null)
      {
        localObject1 = localg.v();
        do
        {
          if (!((w)localObject1).e()) {
            break;
          }
          i++;
          localObject2 = ((w)localObject1).d();
          paramg.a("node");
          this.a.a(localObject2, paramg);
          paramg.b();
          ((w)localObject1).f();
          if ((!bool) && (j != 0)) {
            return;
          }
        } while (j == 0);
      }
    }
    if ((!bool) && (this.b != null))
    {
      localObject1 = localg.w();
      do
      {
        if (!((m)localObject1).e()) {
          break;
        }
        localObject2 = ((m)localObject1).a();
        paramg.a("edge");
        this.b.a(localObject2, paramg);
        paramg.b();
        ((m)localObject1).f();
      } while (j == 0);
    }
  }
  
  public hb a()
  {
    return this.b;
  }
  
  public void a(hb paramhb)
  {
    this.b = paramhb;
  }
  
  public hb b()
  {
    return this.a;
  }
  
  public void b(hb paramhb)
  {
    this.a = paramhb;
  }
}



/* Location:           E:\idea\

 * Qualified Name:     a.e.a.k

 * JD-Core Version:    0.7.0.1

 */